package org.plex.core.imp;

import java.io.Serializable;

import org.plex.model.TaskACL;

public class TaskACLImp implements TaskACL, Serializable {
	private static final long serialVersionUID = 5303844198808297940L;
	private com.adobe.idp.taskmanager.dsc.client.task.TaskACL taskACL;

	public com.adobe.idp.taskmanager.dsc.client.task.TaskACL getTaskACL() {
		return taskACL;
	}

	public void setTaskACL(com.adobe.idp.taskmanager.dsc.client.task.TaskACL taskACL)
	{
		this.taskACL = taskACL;
	}

	public TaskACLImp(com.adobe.idp.taskmanager.dsc.client.task.TaskACL taskACL)
	throws NullPointerException
    {
		if(null==taskACL)
		{
			throw new NullPointerException();
		}
		this.taskACL = taskACL;
	}

	public String getCommonName() {
		// TODO Auto-generated method stub
		return this.taskACL.getCommonName();
	}

	public String getPrincipalId() {
		// TODO Auto-generated method stub
		return this.taskACL.getPrincipalId();
	}

	public boolean isCanAddAttachments() {
		// TODO Auto-generated method stub
		return this.taskACL.isCanAddAttachments();
	}

	public boolean isCanAddNotes() {
		// TODO Auto-generated method stub
		return this.taskACL.isCanAddNotes();
	}

	public boolean isCanClaim() {
		// TODO Auto-generated method stub
		return this.taskACL.isCanClaim();
	}

	public boolean isCanConsult() {
		// TODO Auto-generated method stub
		return this.taskACL.isCanConsult();
	}

	public boolean isCanForward() {
		// TODO Auto-generated method stub
		return this.taskACL.isCanForward();
	}

	public boolean isCanModifyDeadline() {
		// TODO Auto-generated method stub
		return this.taskACL.isCanModifyDeadline();
	}

	public boolean isCanModifyPermissions() {
		// TODO Auto-generated method stub
		return this.taskACL.isCanModifyPermissions();
	}

	public boolean isCanShare() {
		// TODO Auto-generated method stub
		return this.taskACL.isCanShare();
	}

	public void setCanAddAttachments(boolean canAddachments) {
		// TODO Auto-generated method stub
		this.setCanAddAttachments(canAddachments);
	}

	public void setCanClaim(boolean canClaim) {
		// TODO Auto-generated method stub
		this.taskACL.setCanClaim(canClaim);
	}

	public void setCanConsult(boolean canCOnsult) {
		// TODO Auto-generated method stub
		this.taskACL.setCanConsult(canCOnsult);
	}

	public void setCanForward(boolean canForward) {
		this.taskACL.setCanForward(canForward);

	}

	public void setCanModifyDeadline(boolean isCanModifyDeadline) {
		// TODO Auto-generated method stub
		this.taskACL.setCanModifyDeadline(isCanModifyDeadline);
	}

	public void setCanModifyPermissions(boolean canModifyPermissions) {
		// TODO Auto-generated method stub
		this.taskACL.setCanModifyPermissions(canModifyPermissions);
	}

	public void setCanShare(boolean canShare) {
		// TODO Auto-generated method stub
		this.taskACL.setCanShare(canShare);
	}

	public void setPrincipalId(String principalId) {
		// TODO Auto-generated method stub
		this.taskACL.setPrincipalId(principalId);
	}

}
